package com.qst.service;

import com.qst.dao.ApproveDao;
import com.qst.pojo.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author KungSu.
 * @create 2021-06-18 9:47
 */
@Service
public class ApproveService {
    @Autowired
    ApproveDao approveDao;

    public List<Employee> findStatus() {
        List<Employee> employees = approveDao.findStatus();
        return approveDao.findStatus();
    }

    public void setStatues(Integer employeeid) {
        approveDao.setStatues(employeeid);
    }

    public void delEmp(Integer employeeid) {
        approveDao.delEmp(employeeid);
    }
}
